package com.tt.mymu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "t_info")
public class Info {
    @TableId(type = IdType.AUTO)
    private int id;
    @TableField("info")
    private String info;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @TableField("create_time")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @TableField("update_time")
    private Date updateTime;
    @TableField("url")
    private String url;
    @TableField("img")
    private String img;
    @TableField("notes")
    private String notes;
    @TableField("sub_id")
    private int subId;
    @TableField("count")
    private int count;
    @TableField("status")
    private int status;
    @TableField("auditing")
    private int auditing;

}
